From: awilliam@xenbuild.aw Date: Wed, 17 May 2006 21:52:55 +0000 (-0600) Subject: [IA64] Fix xm pause/unpause bug X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16059 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=d7b1ff22599e859dbf8e0c8b003aad33dbb7084c;p=xen.git [IA64] Fix xm pause/unpause bug This small patch intends to fix domain pause/unpause bug. Current xm pause operation will do sync_vcpu_execstate to sync vcpu status, but it saves dom0's fpu and other registers to VTi domain or domainU due to xm pause from control panel. Because sync_vcpu_execstate was called after vcpu_sleep which has saved all status when schedule out ,in addition, currently no lazy states need to be saved in IPF side, so sync_vcpu_execstate would need do nothing now. Signed-off-by: Kevin Tian Signed-off-by: Zhang xiantao --- diff --git a/xen/arch/ia64/xen/domain.c b/xen/arch/ia64/xen/domain.c index f3d0699f76..a624179cbc 100644 --- a/xen/arch/ia64/xen/domain.c +++ b/xen/arch/ia64/xen/domain.c @@ -1782,9 +1782,9 @@ void domain_pend_keyboard_interrupt(int irq) void sync_vcpu_execstate(struct vcpu *v) { - __ia64_save_fpu(v->arch._thread.fph); - if (VMX_DOMAIN(v)) - vmx_save_state(v); +// __ia64_save_fpu(v->arch._thread.fph); +// if (VMX_DOMAIN(v)) +// vmx_save_state(v); // FIXME SMP: Anything else needed here for SMP? }